﻿/********************************************************************
* Copyright (C) 2012 iTouch, Inc (http://www.itouch.com.cn) 
* All rights reserved
* Created by ZhuDongDong <dongdong_82975389@163.com> at 2012-4-1 0:41:06

* 版权所有：浙大网新易盛网络通讯有限公司
* 文件名称：reg
* 作    者：朱冬冬(dongdong_82975389@163.com)
* 创建时间：2012-4-1 0:41:06
* 说    明：
*
********************************************************************
$Id: reg.aspx.cs 84 2012-04-01 01:13:23Z dongdong82975389@gmail.com $
$Rev: 84 $ 
$Author: dongdong82975389@gmail.com $ 
$Date: 2012-04-01 01:13:23 +0000 (Sun, 01 Apr 2012) $
*********************************************************************/

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;

namespace OMSWeb
{
    public partial class reg : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                HttpRequest request = Context.Request;
                //Stream stream = request.InputStream;
                string json = string.Empty;
                //string responseJson = string.Empty;
            
                if (request.QueryString["name"] != null)
                {
                    json = request.QueryString["name"].ToString();

                    Context.Response.ContentType = "UTF-8";
                    if (json == "aaa")
                    {
                        Context.Response.Write("失败");
                    }
                    else
                    {
                        Context.Response.Write("成功");
                    }
                    Context.Response.End();
                }

            }
        }
    }
}
